package com.zj.java8;

public class Test1 {

    public static void main(String[] args) {
        C c=new C();
        c.method();
    }

    interface A {
      default   void method(){
          System.out.println("A");
      }
    }

    interface B {
        default   void method(){
            System.out.println("B");
        }
    }

    static class C implements B,A{
        @Override
        public void method() {
            B.super.method();
        }
    }

}
